package com.codingclub.application.convert;

import com.codingclub.application.dto.SubjectCategoryDTO;
import com.codingclub.application.dto.SubjectLabelDTO;
import com.codingclub.domain.bo.SubjectCategoryBO;
import com.codingclub.infra.basic.entity.SubjectCategory;
import com.codingclub.infra.basic.entity.SubjectLabel;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;

@Mapper
public interface SubjectLabelDTOConverter {
    SubjectLabelDTOConverter INSTANCE= Mappers.getMapper(SubjectLabelDTOConverter.class);

    SubjectLabel convertDtoToEntity(SubjectLabelDTO dto);

    List<SubjectLabelDTO> convertEntityToDtoList(List<SubjectLabel> subjectLabelList);

}
